package com.agu.entity;

import java.util.Map;

/**
 * 列的属性
 * 
 */
public class ColumnEntity {
	//列名
    private String columnName;
    //列名类型
    private String dataType;
    //列名备注
    private String comments;
    //短列名备注
    private String shortComments;
    
    //属性名称(第一个字母大写)，如：user_name => UserName
    private String attrName;
    //属性名称(第一个字母小写)，如：user_name => userName
    private String attrname;
    //属性类型
    private String attrType;
    //auto_increment
    private String extra;
    
    private String jdbcType;
    
    private Boolean isPkey = false;      //主键
    
    //字段长度
    private Integer dataLength;
    //数字整数部分长度
    private Integer dataPrecision;
    //数字小数部分长度
    private Integer dataScale;
    //能否为空
    private String nullable;
    
    private String inputType = "textfield";
    private String mapName;
    private String mapString;

    private boolean nolist = false;
    private boolean noinput = false;
    private boolean noview = false;
    
    private Map map;
    
	public String getColumnName() {
		return columnName;
	}
	public void setColumnName(String columnName) {
		this.columnName = columnName;
	}
	public String getDataType() {
		return dataType;
	}
	public void setDataType(String dataType) {
		this.dataType = dataType;
	}
	public String getComments() {
		return comments;
	}
	public void setComments(String comments) {
		this.comments = comments;
	}
	public String getShortComments() {
		return shortComments;
	}
	public void setShortComments(String shortComments) {
		this.shortComments = shortComments;
	}
	public String getAttrname() {
		return attrname;
	}
	public void setAttrname(String attrname) {
		this.attrname = attrname;
	}
	public String getAttrName() {
		return attrName;
	}
	public void setAttrName(String attrName) {
		this.attrName = attrName;
	}
	public String getAttrType() {
		return attrType;
	}
	public void setAttrType(String attrType) {
		this.attrType = attrType;
	}
	public String getExtra() {
		return extra;
	}
	public void setExtra(String extra) {
		this.extra = extra;
	}
	public Integer getDataLength() {
		return dataLength;
	}
	public void setDataLength(Integer dataLength) {
		this.dataLength = dataLength;
	}
	public Integer getDataPrecision() {
		return dataPrecision;
	}
	public void setDataPrecision(Integer dataPrecision) {
		this.dataPrecision = dataPrecision;
	}
	public Integer getDataScale() {
		return dataScale;
	}
	public void setDataScale(Integer dataScale) {
		this.dataScale = dataScale;
	}
	public String getNullable() {
		return nullable;
	}
	public void setNullable(String nullable) {
		this.nullable = nullable;
	}
	public String getJdbcType() {
		return jdbcType;
	}
	public void setJdbcType(String jdbcType) {
		this.jdbcType = jdbcType;
	}
	public Boolean getIsPkey() {
		return isPkey;
	}
	public void setIsPkey(Boolean isPkey) {
		this.isPkey = isPkey;
	}
	public String getInputType() {
		return inputType;
	}
	public void setInputType(String inputType) {
		this.inputType = inputType;
	}
	public String getMapName() {
		return mapName;
	}
	public void setMapName(String mapName) {
		this.mapName = mapName;
	}
	public String getMapString() {
		return mapString;
	}
	public void setMapString(String mapString) {
		this.mapString = mapString;
	}
	public boolean isNolist() {
		return nolist;
	}
	public void setNolist(boolean nolist) {
		this.nolist = nolist;
	}
	public boolean isNoinput() {
		return noinput;
	}
	public void setNoinput(boolean noinput) {
		this.noinput = noinput;
	}
	public boolean isNoview() {
		return noview;
	}
	public void setNoview(boolean noview) {
		this.noview = noview;
	}
	public Map getMap() {
		return map;
	}
	public void setMap(Map map) {
		this.map = map;
	}
}
